package cn.maihe.elg.operation.repository.entity;

import cn.maihe.framework.starter.mybatis.mapper.Fn;
import cn.maihe.framework.starter.mybatis.mapper.PlusEntityWrapper;

public final class OrgChangeHistoryDOCondition {
    private PlusEntityWrapper<OrgChangeHistoryDO> ew;

    public OrgChangeHistoryDOCondition() {
        this.ew = new PlusEntityWrapper(OrgChangeHistoryDO.class);
    }

    public static OrgChangeHistoryDOCondition builder() {
        return new OrgChangeHistoryDOCondition();
    }

    public PlusEntityWrapper<OrgChangeHistoryDO> build() {
        return this.ew;
    }

    public OrgChangeHistoryDOCondition or() {
        this.ew.orNew();
        return this;
    }

    public OrgChangeHistoryDOCondition and() {
        this.ew.andNew();
        return this;
    }

    private boolean isAndOr() {
        return ew.originalSql() == null || "".equals(ew.originalSql()) ? true : ew.originalSql().endsWith("AND ()") || ew.originalSql().endsWith("OR ()");
    }

    public void clear() {
        this.ew = null;
        this.ew = new PlusEntityWrapper(OrgChangeHistoryDO.class);
    }

    public OrgChangeHistoryDOCondition setSqlSelect(String sqlStr) {
        ew.setSqlSelect(sqlStr);
        return this;
    }

    public OrgChangeHistoryDOCondition orderAsc(String column) {
        ew.orderBy(true, column, true);
        return this;
    }

    public OrgChangeHistoryDOCondition orderDesc(String column) {
        ew.orderBy(true, column, false);
        return this;
    }

    public OrgChangeHistoryDOCondition groupBy(String column) {
        ew.groupBy(column);
        return this;
    }

    public <E, R> OrgChangeHistoryDOCondition orderAsc(Fn<E, R> fn) {
        ew.orderAsc(fn);
        return this;
    }

    public <E, R> OrgChangeHistoryDOCondition orderDesc(Fn<E, R> fn) {
        ew.orderDesc(fn);
        return this;
    }

    public <E, R> OrgChangeHistoryDOCondition groupBy(Fn<E, R> fn) {
        ew.groupBy(fn);
        return this;
    }

    public OrgChangeHistoryDOCondition exists(String sqlStr) {
        ew.exists(sqlStr);
        return this;
    }

    public OrgChangeHistoryDOCondition notExists(String sqlStr) {
        ew.notExists(sqlStr);
        return this;
    }

    public OrgChangeHistoryDOCondition having(String sqlStr, Object... params) {
        ew.having(sqlStr, params);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdIsNull() {
        ew.isNull("id");
        return this;
    }

    public OrgChangeHistoryDOCondition orIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("id");
        return this;
    }

    public OrgChangeHistoryDOCondition andIdIsNotNull() {
        ew.isNotNull("id");
        return this;
    }

    public OrgChangeHistoryDOCondition orIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("id");
        return this;
    }

    public OrgChangeHistoryDOCondition andIdEq(Object value) {
        ew.eq("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdNe(Object value) {
        ew.ne("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdGt(Object value) {
        ew.gt("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdGe(Object value) {
        ew.ge("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdLt(Object value) {
        ew.lt("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdLe(Object value) {
        ew.le("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdIn(Object... value) {
        ew.in("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdNotIn(Object... value) {
        ew.notIn("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdBetween(Object value, Object value1) {
        ew.between("id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdNotBetween(Object value, Object value1) {
        ew.notBetween("id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdLike(String value) {
        ew.like("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andIdNotLike(String value) {
        ew.notLike("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdIsNull() {
        ew.isNull("org_id");
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("org_id");
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdIsNotNull() {
        ew.isNotNull("org_id");
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("org_id");
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdEq(Object value) {
        ew.eq("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdNe(Object value) {
        ew.ne("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdGt(Object value) {
        ew.gt("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdGe(Object value) {
        ew.ge("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdLt(Object value) {
        ew.lt("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdLe(Object value) {
        ew.le("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdIn(Object... value) {
        ew.in("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdNotIn(Object... value) {
        ew.notIn("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdBetween(Object value, Object value1) {
        ew.between("org_id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("org_id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdNotBetween(Object value, Object value1) {
        ew.notBetween("org_id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("org_id", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdLike(String value) {
        ew.like("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOrgIdNotLike(String value) {
        ew.notLike("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOrgIdNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("org_id", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeIsNull() {
        ew.isNull("operate_type");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("operate_type");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeIsNotNull() {
        ew.isNotNull("operate_type");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("operate_type");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeEq(Object value) {
        ew.eq("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeNe(Object value) {
        ew.ne("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeGt(Object value) {
        ew.gt("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeGe(Object value) {
        ew.ge("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeLt(Object value) {
        ew.lt("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeLe(Object value) {
        ew.le("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeIn(Object... value) {
        ew.in("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeNotIn(Object... value) {
        ew.notIn("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeBetween(Object value, Object value1) {
        ew.between("operate_type", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("operate_type", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeNotBetween(Object value, Object value1) {
        ew.notBetween("operate_type", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("operate_type", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeLike(String value) {
        ew.like("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateTypeNotLike(String value) {
        ew.notLike("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateTypeNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("operate_type", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusIsNull() {
        ew.isNull("operate_status");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("operate_status");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusIsNotNull() {
        ew.isNotNull("operate_status");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("operate_status");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusEq(Object value) {
        ew.eq("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusNe(Object value) {
        ew.ne("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusGt(Object value) {
        ew.gt("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusGe(Object value) {
        ew.ge("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusLt(Object value) {
        ew.lt("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusLe(Object value) {
        ew.le("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusIn(Object... value) {
        ew.in("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusNotIn(Object... value) {
        ew.notIn("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusBetween(Object value, Object value1) {
        ew.between("operate_status", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("operate_status", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusNotBetween(Object value, Object value1) {
        ew.notBetween("operate_status", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("operate_status", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusLike(String value) {
        ew.like("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateStatusNotLike(String value) {
        ew.notLike("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateStatusNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("operate_status", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentIsNull() {
        ew.isNull("operate_content");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("operate_content");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentIsNotNull() {
        ew.isNotNull("operate_content");
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("operate_content");
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentEq(Object value) {
        ew.eq("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentNe(Object value) {
        ew.ne("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentGt(Object value) {
        ew.gt("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentGe(Object value) {
        ew.ge("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentLt(Object value) {
        ew.lt("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentLe(Object value) {
        ew.le("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentIn(Object... value) {
        ew.in("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentNotIn(Object... value) {
        ew.notIn("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentBetween(Object value, Object value1) {
        ew.between("operate_content", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("operate_content", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentNotBetween(Object value, Object value1) {
        ew.notBetween("operate_content", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("operate_content", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentLike(String value) {
        ew.like("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andOperateContentNotLike(String value) {
        ew.notLike("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orOperateContentNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("operate_content", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateIsNull() {
        ew.isNull("gmt_create");
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_create");
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateIsNotNull() {
        ew.isNotNull("gmt_create");
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_create");
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateEq(Object value) {
        ew.eq("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateNe(Object value) {
        ew.ne("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateGt(Object value) {
        ew.gt("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateGe(Object value) {
        ew.ge("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateLt(Object value) {
        ew.lt("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateLe(Object value) {
        ew.le("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateIn(Object... value) {
        ew.in("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateNotIn(Object... value) {
        ew.notIn("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateBetween(Object value, Object value1) {
        ew.between("gmt_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateLike(String value) {
        ew.like("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtCreateNotLike(String value) {
        ew.notLike("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedIsNull() {
        ew.isNull("gmt_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("gmt_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedIsNotNull() {
        ew.isNotNull("gmt_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("gmt_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedEq(Object value) {
        ew.eq("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedNe(Object value) {
        ew.ne("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedGt(Object value) {
        ew.gt("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedGe(Object value) {
        ew.ge("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedLt(Object value) {
        ew.lt("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedLe(Object value) {
        ew.le("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedIn(Object... value) {
        ew.in("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedNotIn(Object... value) {
        ew.notIn("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedBetween(Object value, Object value1) {
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("gmt_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("gmt_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedLike(String value) {
        ew.like("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andGmtModifiedNotLike(String value) {
        ew.notLike("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orGmtModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("gmt_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateIsNull() {
        ew.isNull("user_create");
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_create");
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateIsNotNull() {
        ew.isNotNull("user_create");
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_create");
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateEq(Object value) {
        ew.eq("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateNe(Object value) {
        ew.ne("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateGt(Object value) {
        ew.gt("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateGe(Object value) {
        ew.ge("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateLt(Object value) {
        ew.lt("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateLe(Object value) {
        ew.le("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateIn(Object... value) {
        ew.in("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateNotIn(Object... value) {
        ew.notIn("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateBetween(Object value, Object value1) {
        ew.between("user_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateNotBetween(Object value, Object value1) {
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_create", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateLike(String value) {
        ew.like("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserCreateNotLike(String value) {
        ew.notLike("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserCreateNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_create", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedIsNull() {
        ew.isNull("user_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedIsNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNull("user_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedIsNotNull() {
        ew.isNotNull("user_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedIsNotNull() {
        if(!isAndOr()){
            ew.or();
        }
        ew.isNotNull("user_modified");
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedEq(Object value) {
        ew.eq("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedEq(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.eq("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedNe(Object value) {
        ew.ne("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedNe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ne("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedGt(Object value) {
        ew.gt("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedGt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.gt("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedGe(Object value) {
        ew.ge("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedGe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.ge("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedLt(Object value) {
        ew.lt("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedLt(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.lt("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedLe(Object value) {
        ew.le("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedLe(Object value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.le("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedIn(Object... value) {
        ew.in("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.in("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedNotIn(Object... value) {
        ew.notIn("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedNotIn(Object... value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notIn("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedBetween(Object value, Object value1) {
        ew.between("user_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.between("user_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedNotBetween(Object value, Object value1) {
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedNotBetween(Object value, Object value1) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notBetween("user_modified", value, value1);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedLike(String value) {
        ew.like("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.like("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition andUserModifiedNotLike(String value) {
        ew.notLike("user_modified", value);
        return this;
    }

    public OrgChangeHistoryDOCondition orUserModifiedNotLike(String value) {
        if(!isAndOr()){
            ew.or();
        }
        ew.notLike("user_modified", value);
        return this;
    }
}